bin_PROGRAMS = tcap

tcap_SOURCES = ip.h prio.h sll.h sqlwrite.h dns.h monlist.h \
	tcap.cpp \
	prio.cpp \
	monlist.cpp \
	dns.cpp

if POSTGRES_NATIVE
tcap_SOURCES += sqlwrite.cpp sqlwrite.ec 
else
tcap_SOURCES += odbcwrite.cpp
endif


sqlwrite.cpp: sqlwrite.ec
	ecpg -o sqlwrite.cpp sqlwrite.ec

